ImportWP\Common\Rest\RestManager D

Total Complexity 234
Dependencies 22
Dependents 3
Total lines 1,563
Lines of code 1,124
Logical lines of code 622
Comment lines 84
Methods 41
Properties 7

Methods 41

Method Rating Maintainability Complexity Lines of code
save_importer()
D
23
57 148
generate_status_message()
B
40 24 54
get_file_preview()
B
36 22 75
save_exporter()
A
46 15 36
register_routes()
A
28
1 234
get_exporter_status()
A
43 10 47
get_file_process()
A
47 9 35
get_preview()
A
47 9 33
check_rest_status()
A
48 8 34
save_settings()
A
50 8 27
import_exporters()
A
48 7 32
sanitize()
S
53 7 22
attach_file()
S
47 6 34
get_compatibility_settings()
S
52 6 22
save_compatibility()
S
54 5 20
sanitize_setting()
S
58 5 17
export_importers()
S
47 3 34
get_status()
S
50 3 27
get_template()
S
54 2 21
get_log()
S
60 2 12
get_debug_log()
S
61 2 11
get_importers()
S
67 2 8
get_permission()
S
69 2 6
get_exporters()
S
65 2 9
run_import()
S
59 1 14
init_export()
S
60 1 13
init_import()
S
60 1 13
run_exporter()
S
62 1 11
get_exporter()
S
68 1 7
delete_exporter()
S
70 1 6
__construct()
S
65 1 9
get_compatibility()
S
76 1 4
get_settings()
S
76 1 4
get_logs()
S
70 1 6
get_template_field_options()
S
67 1 7
stop_import()
S
72 1 5
register()
S
79 1 3
delete_importer()
S
70 1 6
get_importer()
S
68 1 7
migrate()
S
73 1 5
pause_import()
S
69 1 6